<!--
 * @Author: jiangjin
 * @Date: 2021-10-13 14:09:49
 * @LastEditTime: 2021-10-13 14:09:49
 * @LastEditors: jiangjin
 * @Description: 
 * 
-->
<template>
  <view class="container">
    <view class="intro"
      >本项目已包含uni
      ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view
    >
    <text class="intro">详见：</text>
    <!-- <uni-link :href="href" :text="href"></uni-link> -->
    <uni-link :href="href" text="你好"></uni-link>
    <uni-badge text="1"></uni-badge>
  </view>
</template>

<script lang="ts">
export default {
  setup() {
    return {
      href: 'https://uniapp.dcloud.io/component/README?id=uniui',
    }
  },
}
</script>

<style>
.container {
  padding: 20px;
  font-size: 14px;
  line-height: 24px;
}
</style>
